package com.pk.platform.business.privilege.service;

import java.util.List;

import com.pk.platform.domain.privilege.Privilege;

public interface IPrivilegeService {
	
	public boolean addPrivilege(Privilege privilege);
	
	public void updatePrivilege(Privilege privilege);
	
	public void delPrivilege(String id);
	
	public Privilege queryPrivilegeById(String id);
	
	public String getAllPrivilegeTree();
	
	public String getAssignPrivilegeTree();
	
	public void assignPrivilege(Long roleId, String[] privilegeIds);
	
	public String hasPrivilegeIds(Long roleId);
	
	public List<Privilege> querySysPrivilege();
	
}
